import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import 'vant/lib/index.css'
import '@fortawesome/fontawesome-free/css/all.css'

// 设置全局配置
window.APP_CONFIG = {
  apiBaseUrl: process.env.VUE_APP_API_URL || 'http://localhost:8081'
}

const app = createApp(App)

app.use(router).mount('#app')
